package com.example.dormitorymanagement.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author admin
 * @since 2021-05-31
 */
@ApiModel(value = "班级管理对象")
public class Classmanagement implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(name = "id",value = "数据库中的自增id，一般不用传值")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(name = "years",value = "用来记录届别，例如：2019")
    private Integer years;

    @ApiModelProperty(name = "academy",value = "学院，例如：计算机系")
    private String academy;

    @ApiModelProperty(name = "profession",value = "专业，例如：软件技术")
    private String profession;

    @ApiModelProperty(name = "classroom",value = "班级，格式统一例如：专业加x班，软件技术1班")
    private String classroom;

    @ApiModelProperty(name = "counselor",value = "辅导员名字")
    private String counselor;

    
    public Integer getId() {
        return id;
    }

      public void setId(Integer id) {
          this.id = id;
      }
    
    public Integer getYears() {
        return years;
    }

      public void setYears(Integer years) {
          this.years = years;
      }
    
    public String getAcademy() {
        return academy;
    }

      public void setAcademy(String academy) {
          this.academy = academy;
      }
    
    public String getProfession() {
        return profession;
    }

      public void setProfession(String profession) {
          this.profession = profession;
      }
    
    public String getClassroom() {
        return classroom;
    }

      public void setClassroom(String classroom) {
          this.classroom = classroom;
      }
    
    public String getCounselor() {
        return counselor;
    }

      public void setCounselor(String counselor) {
          this.counselor = counselor;
      }

    @Override
    public String toString() {
        return "Classmanagement{" +
              "id=" + id +
                  ", years=" + years +
                  ", academy=" + academy +
                  ", profession=" + profession +
                  ", classroom=" + classroom +
                  ", counselor=" + counselor +
              "}";
    }
}
